package com.vtest.quartz.domain.vtest.report;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.vtest.quartz.utils.excel.ColumnType;
import com.vtest.quartz.utils.excel.Excel;
import lombok.Data;

import java.util.Date;

/**
 * @program: Quartz
 * @author: tiger
 * @create: 2025-11-26 10:50
 * @Description : FT Hold报表中的 HoldReason 实体类
 */

@Data
public class HoldReasonEntity {

    /**
     * 伟测Lot
     */
    @Excel(name = "LotNum", cellType = ColumnType.STRING)
    private String lotNum;

    /**
     * 站点
     */
    @Excel(name = "WipStep", cellType = ColumnType.STRING)
    private String fromStepCode;

    /**
     * hold 时间
     */
    @Excel(name = "CheckTime", dateFormat = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date txnTime;

    /**
     * hold 原因
     */
    @Excel(name = "FailReason", cellType = ColumnType.STRING)
    private String Comment;

    /**
     * 高低
     */
    @Excel(name = "HighLow", cellType = ColumnType.STRING)
    private String highLow;

    /**
     * 良率
     */
    @Excel(name = "Yield", cellType = ColumnType.NUMERIC)
    private double yield;


    @Excel(name = "Limit", cellType = ColumnType.NUMERIC)
    private double limit;

    private Integer total;

    private Integer good;
}
